package com.sc.nft.service.impl;

import com.sc.nft.dao.RankingBoardConfDao;
import com.sc.nft.entity.dto.RankingListScreenDTO;
import com.sc.nft.entity.vo.RankingListScreenVO;
import com.sc.nft.service.RankingBoardConfService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 排行榜配置表(RankingBoardConf)表服务实现类
 *
 * @author wwc
 * @since 2023-08-10 14:43:17
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class RankingBoardConfServiceImpl implements RankingBoardConfService {

    private final RankingBoardConfDao rankingBoardConfDao;

    @Override
    public List<RankingListScreenVO> rankingListScreen(RankingListScreenDTO rankingListScreenDTO) {

        return rankingBoardConfDao.rankingListScreen(rankingListScreenDTO);

    }

    @Override
    public List<RankingListScreenVO> historyRankingListScreen(RankingListScreenDTO rankingListScreenDTO) {
            return rankingBoardConfDao.historyRankingListScreen(rankingListScreenDTO);
    }

}
